//
//  JHSCureConditionModel.m
//  JHSSweep
//
//  Created by Apple on 2017/3/25.
//  Copyright © 2017年 JHDS. All rights reserved.
//

#import "JHSCureConditionModel.h"

@implementation JHSCureConditionModel

+ (void)cureDoctorNetDataWithURL:(NSString *)urlStr withParameters:(id)parameters withSuccessBlock:(void(^)(id responceBoby))successBK withFailureBlock:(void(^)(NSError *error))failureBK{
    JHSNetworkTool *tool = [JHSNetworkTool shareManager];
    
    tool.requestSerializer = [[AFHTTPRequestSerializer alloc] init];
    
    [tool postWithURLStr:urlStr withParameters:parameters withSuccessBlock:^(id responseBody) {
              NSArray *dicArr = responseBody[@"data"];
        
        successBK(dicArr);
        
    } withFailureBlock:^(NSError *error) {
        failureBK(error);
    }];
    
    
}


- (NSString *)description
{
    return [self yy_modelDescription];
}

@end
